package com.atguigu.common.exception;

public class NoStockException extends RuntimeException {

    public NoStockException(Long skuId) {
        super("商品Id：" + skuId + "库存不足");
    }

    public NoStockException(String msg) {
        super(msg);
    }
}
